package 排序.归并排序.算法第四版实现方式;

import java.util.Arrays;

public class Main {

    public static void main(String[] args) {
        Comparable[] array = {3, -2, -1, 17, 25, 26, -13, -8, 9};
        System.out.println(Arrays.toString(array));
        //自顶向下 s = new 自顶向下();
        自底向上 s = new 自底向上();
        s.sort(array);
        System.out.println(Arrays.toString(array));
    }
}
